package com.smap.vector;

public class Style {

	public String fill_color = "yellow";
	public Double fill_opacity = 0.5;
	public String stroke_color = "blue";
	public Double stroke_opacity = 1.0;
	public Double stroke_width = 1.5;
	public Double line_width = 7.5;
	public Double point_radius = 6.0;
	public String label_font = "normal 12px sans-serif";
	public String label_color = "black";

	public Style clone() {
		Style newStyle = new Style();
		newStyle.fill_color = fill_color;
		newStyle.fill_opacity = fill_opacity;
		newStyle.stroke_color = stroke_color;
		newStyle.stroke_opacity = stroke_opacity;
		newStyle.stroke_width = stroke_width;
		newStyle.point_radius = point_radius;
		newStyle.line_width = line_width;
		newStyle.label_font = label_font;
		newStyle.label_color = label_color;
		return newStyle;
	}

	public static Style NEW_FEATURE = new Style();

	static {
		NEW_FEATURE.line_width = 1.5;
		NEW_FEATURE.stroke_color = "green";
		NEW_FEATURE.fill_color = "green";
	}
}
